package com.tjsiqi.dao;

import com.tjsiqi.beans.PageQuery;
import com.tjsiqi.model.Contract;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ContractMapper {
    int deleteByPrimaryKey(Integer conId);

    int insert(Contract record);

    int insertSelective(Contract record);

    Contract selectByPrimaryKey(Integer conId);

    int updateByPrimaryKeySelective(Contract record);

    int updateByPrimaryKey(Contract record);

    List<Contract> getAll();

    List<Contract> getPage(@Param("conCscUnit") String conCscUnit, @Param("page") PageQuery pageQuery);

    int count();

    List<String> findCscName();

}